<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:fb="http://ogp.me/ns/fb#">

<head>
    <title><?php echo isset($title)?$title:'Login';?></title>
    <?php 
    $JSs = array('skin/js/jquery-1.10.2.min.js','skin/js/admin.js');
    $CSSs = array('skin/css/login.css');
    ?>
    <?php foreach($CSSs as $css):?>
    <link rel="stylesheet" type="text/css" href="<?php echo base_url($css);?>" />
    <?php endforeach;?>
    <?php foreach($JSs as $js):?>
    <script type="text/javascript" src="<?php echo base_url($js);?>"></script>
    <?php endforeach;?>
    
    <?php if (isset($login)): ?>
    <!-- Must only load in load login page. -->
    <script type="text/javascript" src="<?php echo base_url('skin/js/login.js');?>"></script>
    <?php endif; ?>
    <script type="text/javascript">
        var messages = messages || {}; // Only use for confimation messages
    </script>
    
    
    <!-- MOBILE VIEWPORT START -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <!-- MOBILE VIEWPORT END -->

    
    <!--[if IE 8]>
        <link rel="stylesheet" type="text/css" href="<?php echo base_url('skin/css/ie8.css'); ?>">
        <script src="<?php echo base_url('skin/js/ie8.js'); ?>"></script>
        <meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
    <![endif]-->	

    <!--[if IE]>
        <link rel="stylesheet" type="text/css" href="<?php echo base_url('skin/css/ie.css'); ?>" />
    <![endif]-->	

    <!-- FOR IE 10 above -->
    <link rel="stylesheet" type="text/css" href="<?php echo base_url('skin/css/gteIE10.css'); ?>" />
    <!-- END FOR IE 10 above -->
    
</head>

<body>
    <div>
    <div class="tianggeloginbgup"></div>
        <div class="tianggeloginbgdown">
			<?php echo $_content; ?>
			
		</div>
    </div>
	<span id="footerdetect"></span>
<script src="<?php echo base_url('skin/js/resize-iframe.js'); ?>"></script>
</body>
</html>